/**
 * output package name
 */
package com.kingdee.eas.mx.basedata.enums;

import java.util.Map;
import java.util.List;
import java.util.Iterator;
import com.kingdee.util.enums.StringEnum;

/**
 * output class name
 */
public class MarginModeEnum extends StringEnum
{
    public static final String USEDBYONE_VALUE = "1";
    public static final String LASTUSE_VALUE = "2";

    public static final MarginModeEnum usedByOne = new MarginModeEnum("usedByOne", USEDBYONE_VALUE);
    public static final MarginModeEnum lastUse = new MarginModeEnum("lastUse", LASTUSE_VALUE);

    /**
     * construct function
     * @param String marginModeEnum
     */
    private MarginModeEnum(String name, String marginModeEnum)
    {
        super(name, marginModeEnum);
    }
    
    /**
     * getEnum function
     * @param String arguments
     */
    public static MarginModeEnum getEnum(String marginModeEnum)
    {
        return (MarginModeEnum)getEnum(MarginModeEnum.class, marginModeEnum);
    }

    /**
     * getEnumMap function
     */
    public static Map getEnumMap()
    {
        return getEnumMap(MarginModeEnum.class);
    }

    /**
     * getEnumList function
     */
    public static List getEnumList()
    {
         return getEnumList(MarginModeEnum.class);
    }
    
    /**
     * getIterator function
     */
    public static Iterator iterator()
    {
         return iterator(MarginModeEnum.class);
    }
}